home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccssssiiii____ffffrrrreeeeeeee((((DDDD3333XXXX)))) ssssccccssssiiii____ffffrrrreeeeeeee((((DDDD3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- scsi_free - release communication channel to host adapter driver
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ssssccccssssiiii....hhhh>>>>
-
- vvvvooooiiiidddd
- ((((****ssssccccssssiiii____ffffrrrreeeeeeee))))(((( vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt _l_u_n__v_h_d_l,,,,
- vvvvooooiiiidddd ((((****_c_a_l_l_b_a_c_k__f_u_n_c_t_i_o_n))))((((vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt,,,, cccchhhhaaaarrrr ****))))))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The host adapter _s_c_s_i__f_r_e_e function is used to terminate a connection
- between a SCSI device driver and the host adapter driver.
-
- There is no kernel object called scsi_free; rather, there is a pointer to
- each host adapter's scsi_free function in the sci_free field of the
- scsi_ctlr_info structure, which is attached to the vertex corresponding
- to the host adapter.
-
- _l_u_n__v_h_d_l is the device vertex, as given to _s_c_s_i__a_l_l_o_c to open the
- channel. The _c_a_l_l_b_a_c_k__f_u_n_c_t_i_o_n argument must be the same as that given
- to _s_c_s_i__a_l_l_o_c.
-
- NNNNOOOOTTTTEEEESSSS
- _s_c_s_i__a_l_l_o_c is stored as a function pointer in the scsi_ctlr_info_t
- structure, which is associated with the scsi host adapter vertex in the
- hwgraph. The information structure in the scsi target vertex also has a
- pointer to the scsi_ctlr_info_t of the host adapter that the target is
- connected to. Given a _l_u_n__v_h_d_l (vertex handle of the device) the
- scsi_free function can be called as follows:
-
- scsi_lun_info_t *scsi_lun_info;
- ...
- scsi_lun_info = scsi_lun_info_get(lun_vhdl);
- SLI_FREE(scsi_lun_info)(lun_vhdl,callback_function);
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- comments in /usr/include/sys/scsi.h, hwgraph.intro(D4X), scsi_alloc(D3X),
- scsi_command(D3X), scsi_free(D3X), scsi_info(D3X), scsi_ioctl(D3X),
- scsi_abort(D3X), SCSI chapter of the IRIX Device Driver Programmer's
- Guide
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-